package com.honor.games.wg.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ApplicationConfiguration {

	@Value("${app.name}")
	private String applicationName;
	
	@Value("${app.version}")
	private String applicationVersion;
	
	@Value("${board.tiles.number.width}")
	private int boardTilesWidthNumber;
	
	@Value("${board.tiles.number.height}")
	private int boardTilesHeightNumber;
	
	@Value("${board.tiles.size.width}")
	private int boardTilesSizeWidth;

	@Value("${board.tiles.size.height}")
	private int boardTilesSizeHeight;
	
	@Value("${graphics.screen.width}")
	private int screenWidth;

	@Value("${graphics.screen.height}")	
	private int screenHeight;

	@Value("${unit.size.width}")
	private int unitSizeWidth;

	@Value("${unit.size.height}")
	private int unitSizeHeight;
	
	public String getApplicationVersion() {
		return applicationVersion;
	}
	
	public String getApplicationName() {
		return applicationName;
	}
	
	public int getBoardTilesWidthNumber() {
		return boardTilesWidthNumber;
	}
	
	public int getBoardTilesHeightNumber() {
		return boardTilesHeightNumber;
	}
	
	public int getBoardTilesSizeWidth() {
		return boardTilesSizeWidth;
	}
	
	public int getBoardTilesSizeHeight() {
		return boardTilesSizeHeight;
	}
	
	public int getScreenWidth() {
		return screenWidth;
	}
	
	public int getScreenHeight() {
		return screenHeight;
	}

	public int getUnitSizeWidth() {
		return unitSizeWidth;
	}

	public int getUnitSizeHeight() {
		return unitSizeHeight;
	}
	
}
